package com.ddwl.goods.mapper;

import com.ddwl.common.dao.mapper.TkMapper;
import com.ddwl.goods.model.Banner;
import com.ddwl.goods.model.BestSelling;
import com.ddwl.schema.bo.goods.BannerBo;
import com.ddwl.schema.bo.goods.BestSellingBo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BestSellingMapper extends TkMapper<BestSelling> {

    List<BestSelling> bannerList(@Param("platform") Integer platform);

    List<BestSelling> findAll(@Param("params") BestSellingBo bestSellingBo);

}
